<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>lwIP: src/include/lwip/apps/mdns_out.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">lwIP
   &#160;<span id="projectnumber">2.2.0</span>
   </div>
   <div id="projectbrief">Lightweight IP stack</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('mdns__out_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">mdns_out.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="mdns__opts_8h.html">lwip/apps/mdns_opts.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mdns__priv_8h.html">lwip/apps/mdns_priv.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="netif_8h.html">lwip/netif.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="timeouts_8h.html">lwip/timeouts.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ab3297d69b0effb5eb01a9b8c5a708ea9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#ab3297d69b0effb5eb01a9b8c5a708ea9">QUESTION_PROBE_HOST_ANY</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="separator:ab3297d69b0effb5eb01a9b8c5a708ea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5a051eb81d6bd37365973d1215af23ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a5a051eb81d6bd37365973d1215af23ba">mdns_create_outpacket</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structmdns__outmsg.html">mdns_outmsg</a> *msg, struct <a class="el" href="structmdns__outpacket.html">mdns_outpacket</a> *outpkt)</td></tr>
<tr class="separator:a5a051eb81d6bd37365973d1215af23ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8c9d2bd89d6ca7e8668ba708925d2e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#ae8c9d2bd89d6ca7e8668ba708925d2e8">mdns_send_outpacket</a> (struct <a class="el" href="structmdns__outmsg.html">mdns_outmsg</a> *msg, struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:ae8c9d2bd89d6ca7e8668ba708925d2e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6195808be1840daa8a100b5954a30cfe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a6195808be1840daa8a100b5954a30cfe">mdns_set_timeout</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, u32_t msecs, <a class="el" href="timeouts_8h.html#a2ab5bb8173f492563f70a519011b0ac1">sys_timeout_handler</a> handler, u8_t *busy_flag)</td></tr>
<tr class="separator:a6195808be1840daa8a100b5954a30cfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b637b6f41976f35f7b48e7f2904829b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a7b637b6f41976f35f7b48e7f2904829b">mdns_multicast_timeout_reset_ipv4</a> (void *arg)</td></tr>
<tr class="separator:a7b637b6f41976f35f7b48e7f2904829b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add64c83f753842f2ceb40079217c66a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#add64c83f753842f2ceb40079217c66a1">mdns_multicast_probe_timeout_reset_ipv4</a> (void *arg)</td></tr>
<tr class="separator:add64c83f753842f2ceb40079217c66a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4a0ae6a039210f60f666999f9b807f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#ae4a0ae6a039210f60f666999f9b807f7">mdns_multicast_timeout_25ttl_reset_ipv4</a> (void *arg)</td></tr>
<tr class="separator:ae4a0ae6a039210f60f666999f9b807f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf59dca94f241c1b58c7df1ec4b85e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#acbf59dca94f241c1b58c7df1ec4b85e1">mdns_send_multicast_msg_delayed_ipv4</a> (void *arg)</td></tr>
<tr class="separator:acbf59dca94f241c1b58c7df1ec4b85e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b7a721b19fa33813133bc97f503c199"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a2b7a721b19fa33813133bc97f503c199">mdns_send_unicast_msg_delayed_ipv4</a> (void *arg)</td></tr>
<tr class="separator:a2b7a721b19fa33813133bc97f503c199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dd35cb1e1fae888c05c2b7f8bd717cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a2dd35cb1e1fae888c05c2b7f8bd717cc">mdns_start_multicast_timeouts_ipv4</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:a2dd35cb1e1fae888c05c2b7f8bd717cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a790ea0aba2d252f96c23748ea0c033a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a790ea0aba2d252f96c23748ea0c033a7">mdns_multicast_timeout_reset_ipv6</a> (void *arg)</td></tr>
<tr class="separator:a790ea0aba2d252f96c23748ea0c033a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e0aa6f6e3ba90c88e1bf1b83d05cd2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a4e0aa6f6e3ba90c88e1bf1b83d05cd2f">mdns_multicast_probe_timeout_reset_ipv6</a> (void *arg)</td></tr>
<tr class="separator:a4e0aa6f6e3ba90c88e1bf1b83d05cd2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5de741fd85c3675e3d2161727dd9a220"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a5de741fd85c3675e3d2161727dd9a220">mdns_multicast_timeout_25ttl_reset_ipv6</a> (void *arg)</td></tr>
<tr class="separator:a5de741fd85c3675e3d2161727dd9a220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3e118eb80760a958265f6a4c59b2e49"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#af3e118eb80760a958265f6a4c59b2e49">mdns_send_multicast_msg_delayed_ipv6</a> (void *arg)</td></tr>
<tr class="separator:af3e118eb80760a958265f6a4c59b2e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2713348b1b314d5e880442f2c130e1dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a2713348b1b314d5e880442f2c130e1dc">mdns_send_unicast_msg_delayed_ipv6</a> (void *arg)</td></tr>
<tr class="separator:a2713348b1b314d5e880442f2c130e1dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f6f22640ac837a233bf43334dfb02a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a10f6f22640ac837a233bf43334dfb02a">mdns_start_multicast_timeouts_ipv6</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:a10f6f22640ac837a233bf43334dfb02a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a8e5d5ba8cfbb18e7ff2588792ce5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#ab8a8e5d5ba8cfbb18e7ff2588792ce5f">mdns_prepare_txtdata</a> (struct <a class="el" href="structmdns__service.html">mdns_service</a> *service)</td></tr>
<tr class="separator:ab8a8e5d5ba8cfbb18e7ff2588792ce5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7dc9536f124263573518e6e8e1a162"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mdns__out_8h.html#a1f7dc9536f124263573518e6e8e1a162">mdns_send_request</a> (struct <a class="el" href="structmdns__request.html">mdns_request</a> *req, struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="group__ipaddr.html#ga16ef96d6cde029029bbf47fee35fd67a">ip_addr_t</a> *destination)</td></tr>
<tr class="separator:a1f7dc9536f124263573518e6e8e1a162"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>MDNS responder - output related functionalities </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ab3297d69b0effb5eb01a9b8c5a708ea9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3297d69b0effb5eb01a9b8c5a708ea9">&#9670;&nbsp;</a></span>QUESTION_PROBE_HOST_ANY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QUESTION_PROBE_HOST_ANY&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Bitmasks outmsg generation </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a5a051eb81d6bd37365973d1215af23ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a051eb81d6bd37365973d1215af23ba">&#9670;&nbsp;</a></span>mdns_create_outpacket()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> mdns_create_outpacket </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structmdns__outmsg.html">mdns_outmsg</a> *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structmdns__outpacket.html">mdns_outpacket</a> *&#160;</td>
          <td class="paramname"><em>outpkt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create packet with chosen answers as a reply</p>
<p>Add all selected answers / questions Add additional answers based on the selected answers </p>

</div>
</div>
<a id="add64c83f753842f2ceb40079217c66a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add64c83f753842f2ceb40079217c66a1">&#9670;&nbsp;</a></span>mdns_multicast_probe_timeout_reset_ipv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_multicast_probe_timeout_reset_ipv4 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, allows direct multicast IPv4 probe response traffic again and sends out probe response if one was pending</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4e0aa6f6e3ba90c88e1bf1b83d05cd2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e0aa6f6e3ba90c88e1bf1b83d05cd2f">&#9670;&nbsp;</a></span>mdns_multicast_probe_timeout_reset_ipv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_multicast_probe_timeout_reset_ipv6 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, allows direct multicast IPv6 probe response traffic again and sends out probe response if one was pending</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae4a0ae6a039210f60f666999f9b807f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4a0ae6a039210f60f666999f9b807f7">&#9670;&nbsp;</a></span>mdns_multicast_timeout_25ttl_reset_ipv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_multicast_timeout_25ttl_reset_ipv4 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, allows to send an answer on a QU question via multicast.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5de741fd85c3675e3d2161727dd9a220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5de741fd85c3675e3d2161727dd9a220">&#9670;&nbsp;</a></span>mdns_multicast_timeout_25ttl_reset_ipv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_multicast_timeout_25ttl_reset_ipv6 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, allows to send an answer on a QU question via multicast.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7b637b6f41976f35f7b48e7f2904829b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b637b6f41976f35f7b48e7f2904829b">&#9670;&nbsp;</a></span>mdns_multicast_timeout_reset_ipv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_multicast_timeout_reset_ipv4 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, allows multicast IPv4 traffic again.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a790ea0aba2d252f96c23748ea0c033a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a790ea0aba2d252f96c23748ea0c033a7">&#9670;&nbsp;</a></span>mdns_multicast_timeout_reset_ipv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_multicast_timeout_reset_ipv6 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, allows multicast IPv6 traffic again.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab8a8e5d5ba8cfbb18e7ff2588792ce5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8a8e5d5ba8cfbb18e7ff2588792ce5f">&#9670;&nbsp;</a></span>mdns_prepare_txtdata()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_prepare_txtdata </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmdns__service.html">mdns_service</a> *&#160;</td>
          <td class="paramname"><em>service</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Call user supplied function to setup TXT data </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">service</td><td>The service to build TXT record for </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acbf59dca94f241c1b58c7df1ec4b85e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbf59dca94f241c1b58c7df1ec4b85e1">&#9670;&nbsp;</a></span>mdns_send_multicast_msg_delayed_ipv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_send_multicast_msg_delayed_ipv4 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, sends out delayed multicast IPv4 response.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af3e118eb80760a958265f6a4c59b2e49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3e118eb80760a958265f6a4c59b2e49">&#9670;&nbsp;</a></span>mdns_send_multicast_msg_delayed_ipv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_send_multicast_msg_delayed_ipv6 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, sends out delayed multicast IPv6 response.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae8c9d2bd89d6ca7e8668ba708925d2e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8c9d2bd89d6ca7e8668ba708925d2e8">&#9670;&nbsp;</a></span>mdns_send_outpacket()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> mdns_send_outpacket </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmdns__outmsg.html">mdns_outmsg</a> *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send chosen answers as a reply</p>
<p>Create the packet Send the packet </p>

</div>
</div>
<a id="a1f7dc9536f124263573518e6e8e1a162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7dc9536f124263573518e6e8e1a162">&#9670;&nbsp;</a></span>mdns_send_request()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> mdns_send_request </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmdns__request.html">mdns_request</a> *&#160;</td>
          <td class="paramname"><em>req</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__ipaddr.html#ga16ef96d6cde029029bbf47fee35fd67a">ip_addr_t</a> *&#160;</td>
          <td class="paramname"><em>destination</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send search request containing all our known data </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">req</td><td>The request to send </td></tr>
    <tr><td class="paramname">netif</td><td>The network interface to send on </td></tr>
    <tr><td class="paramname">destination</td><td>The target address to send to (usually multicast address) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2b7a721b19fa33813133bc97f503c199"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b7a721b19fa33813133bc97f503c199">&#9670;&nbsp;</a></span>mdns_send_unicast_msg_delayed_ipv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_send_unicast_msg_delayed_ipv4 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, sends out delayed unicast IPv4 response.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2713348b1b314d5e880442f2c130e1dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2713348b1b314d5e880442f2c130e1dc">&#9670;&nbsp;</a></span>mdns_send_unicast_msg_delayed_ipv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_send_unicast_msg_delayed_ipv6 </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by timeouts when timer is passed, sends out delayed unicast IPv6 response.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">arg</td><td>pointer to netif of timeout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6195808be1840daa8a100b5954a30cfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6195808be1840daa8a100b5954a30cfe">&#9670;&nbsp;</a></span>mdns_set_timeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_set_timeout </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32_t&#160;</td>
          <td class="paramname"><em>msecs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="timeouts_8h.html#a2ab5bb8173f492563f70a519011b0ac1">sys_timeout_handler</a>&#160;</td>
          <td class="paramname"><em>handler</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8_t *&#160;</td>
          <td class="paramname"><em>busy_flag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets a timer that calls the handler when finished. Depending on the busy_flag the timer is restarted or started. The flag is set before return. Sys_timeout does not give us this functionality.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>Network interface info </td></tr>
    <tr><td class="paramname">msecs</td><td>Time value to set </td></tr>
    <tr><td class="paramname">handler</td><td>Callback function to call </td></tr>
    <tr><td class="paramname">busy_flag</td><td>Pointer to flag that displays if the timer is running or not. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2dd35cb1e1fae888c05c2b7f8bd717cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dd35cb1e1fae888c05c2b7f8bd717cc">&#9670;&nbsp;</a></span>mdns_start_multicast_timeouts_ipv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_start_multicast_timeouts_ipv4 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start all multicast timeouts for IPv4 Timeouts started:</p><ul>
<li>do not multicast within one second</li>
<li>do not multicast a probe response within 250ms</li>
<li>send a multicast answer on a QU question if not send recently.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>network interface to start timeouts on </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a10f6f22640ac837a233bf43334dfb02a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10f6f22640ac837a233bf43334dfb02a">&#9670;&nbsp;</a></span>mdns_start_multicast_timeouts_ipv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mdns_start_multicast_timeouts_ipv6 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start all multicast timeouts for IPv6 Timeouts started:</p><ul>
<li>do not multicast within one second</li>
<li>do not multicast a probe response within 250ms</li>
<li>send a multicast answer on a QU question if not send recently.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>network interface to start timeouts on </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b0856f6b0d80ccb263b2f415c91f9e17.html">include</a></li><li class="navelem"><a class="el" href="dir_4e6b3cf33a61b6caac9c8ac30c866f37.html">lwip</a></li><li class="navelem"><a class="el" href="dir_f9284811ac594eafdc3134d5f8b945cb.html">apps</a></li><li class="navelem"><a class="el" href="mdns__out_8h.html">mdns_out.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
